package com.zackeus.sipservice.constant;

import androidx.annotation.StringDef;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * SDP Profile-level
 * @name: ProfileLevel
 * @author: zz
 * @date: 2022/9/16
 */
public final class ProfileLevel {

    /* Baseline Profile + Level 3.0 */
    public static final String BP_30 = "42801e";
    /* Constrained Baseline Profile + Level 3.1 */
    public static final String CBP_31 = "42e01f";
    /* High Profile + Level 3.1 */
    public static final String HP_31 = "64001f";
    /* High Profile + Level 2.2 */
    public static final String HP_22 = "640016";
    /* Constrained High Profile + Level 3.1 */
    public static final String CHP_31 = "640c1f";
    /* Constrained High Profile + Level 5.2 */
    public static final String CHP_52 = "640c34";

    @Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER})
    @Retention(RetentionPolicy.SOURCE)
    @StringDef({BP_30, CBP_31, HP_31, HP_22, CHP_31, CHP_52})
    public @interface Unit {}
}
